package com.it.enity;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhangyan
 * @version 1.0
 * @date 2019/7/10 12:57
 */


public class pageResult<T> implements Serializable {

   private Long total;
   private List<T> rows;

    @Override
    public String toString() {
        return "pageResult{" +
                "total=" + total +
                ", rows=" + rows +
                '}';
    }
    public pageResult(Long total, List<T> rows) {
        this.total = total;
        this.rows = rows;
    }
    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
